﻿// This File is part of Innovation Foundry's "QualityHelper Project"
//
// Copyright  2009 Innovation Foundry Pty Ltd
// All rights reserved
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
// or FITNESS FOR A PARTICULAR PURPOSE.
// See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the
// Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA  02110-1301 USA
// or alternatively it may be downloaded from <http://www.gnu.org/licenses/>.

using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Serialization;
using System.Windows.Browser;

namespace InnovationFoundry.QualityHelper.Silverlight.BLL.Objects
{
    [ScriptableType]
	[DataContract]
    public class FileObject : ISLBLLObject
    {
        private string fileID;

        public string FileID
        {
            get { return fileID; }
            set { fileID = value; }
        }
        private string fileName;

        public string FileName
        {
            get { return fileName; }
            set { fileName = value; }
        }
        private byte[] fileData;

        public byte[] FileData
        {
            get { return fileData; }
            set { fileData = value; }
        }
        private string fileMimeType;

        public string FileMimeType
        {
            get { return fileMimeType; }
            set { fileMimeType = value; }
        }
        private string fileExtension;

        public string FileExtension
        {
            get { return fileExtension; }
            set { fileExtension = value; }
        }

        public FileObject() { }
    }
}
